import { createRouter, createWebHistory } from 'vue-router'
import AppHome from '../pages/micro-app1.vue'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/app1',
      component: AppHome
    },
    {
      path: '/app2',
      component: () => import('../pages/micro-app2.vue')
    },
    {
      path: '/login',
      component: () => import('../pages/login.vue')
    }
  ],
})

export default router
